// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue'
import App from './App'
import router from './router'
import fastClick from 'fastclick'
import VueAwesomeSwiper from 'vue-awesome-swiper'
// 移动端项目的基础样式
import './assets/styles/reset.css'
// 解决1像素边框的问题
import './assets/styles/border.css'
// 图标库
import './assets/styles/iconfont.css'
// 轮播图
import 'swiper/dist/css/swiper.css'

Vue.config.productionTip = false
// 解决300毫秒延迟点击问题
fastClick.attach(document.body)
// 使用轮播图
Vue.use(VueAwesomeSwiper)

new Vue({
  el: '#app',
  router,
  components: {App},
  template: '<App/>'
})
